﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Blog.DAL
{
   public partial class tbljob
    {
       private int _job_id;
       private string _job_name;
       public int job_id { get { return _job_id; } set { _job_id=value;} }
       public string job_name { get { return _job_name; } set { _job_name = value; } }
       

       public tbljob(int job_id, string job_name)
       {
           _job_name = job_name;
           _job_id = job_id;
       }

       public IQueryable<tbljob> Get_all_job()
       {
           DB db = new DB();
           return (from u in db.tbljobs select u).AsQueryable();
       }
    }
}
